import request from '@/utils/request'

// 线索联系人列表
export function linkmanLists(params?: Record<string, any>) {
    return request.get({ url: '/linkman/list', params })
}

// 线索联系人详情
export function linkmanDetail(params: Record<string, any>) {
    return request.get({ url: '/linkman/detail', params })
}

// 线索联系人所有数据
export function linkmanAlls(params: Record<string, any>) {
    return request.get({ url: '/linkman/all', params })
}

// 线索联系人新增
export function linkmanAdd(params: Record<string, any>) {
    return request.post({ url: '/linkman/add', params })
}

// 线索联系人编辑
export function linkmanEdit(params: Record<string, any>) {
    return request.post({ url: '/linkman/edit', params })
}

// 线索联系人删除
export function linkmanDelete(params: Record<string, any>) {
    return request.post({ url: '/linkman/del', params })
}
